package com.sskj.trafficcontrol.dao;

import com.sskj.trafficcontrol.model.pojo.TcTipImg;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author zhao kuo
 * @date 2019-02-02
 */

@Mapper
@Repository
public interface TcTipImgDAO {
    int deleteByPrimaryKey(Integer id);

    void insertSelective(TcTipImg record);

    void insertBatch(List<TcTipImg> records);

    TcTipImg selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TcTipImg record);

    int updateByPrimaryKey(TcTipImg record);
}